package com.example.ch02_student.utils;

import com.example.ch02_student.entity.Course;
import com.example.ch02_student.entity.Grade;

import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataBean {
    //admins
    private String ano;
    private String aname;

    private String sex;
    private Integer age;
    private String address;

    private String tel;
    private Date createTime;
    //course
    private String cno;
    private Integer term;
    private String cname;
    private Integer ccredit;
    private Integer chour;
    //grade
    private String sno;
    private Integer score;
    //student
    private String sname;
    private String img;
    private String cclass;
    private String major;
    private String college;
    //
    private String tno;
    private String tname;

    List<Course> courses;

    List<Grade> grades;
    //课程名字
    private List<String> cnames;






}
